/* PhotoSearchController */

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#import <ObjectiveFlickr/ObjectiveFlickr.h>
@class WordArrayController;

@interface PhotoSearchController : NSObject
{
    IBOutlet id progressIndicator;
    IBOutlet id webView;
	OFFlickrContext *context;
	OFFlickrInvocation *invoc;
	IBOutlet NSTabView *imageTabView;
	
	IBOutlet WordArrayController *wordArrayController;
	
	
//downloading
	NSURLResponse *downloadResponse;
	long long bytesReceived;
	long long toalToDownload;
	NSMutableDictionary *downloadLocations;
}
- (IBAction)startSearch:(id)sender;
- (IBAction)changeToBrowseView:(id)sender;

- (void)downloadContentsOfURL:(NSURL *)url toLocation:(NSString *)location;

@end
